package com.springcloud.common.core.exception;

/**
 * <p> api 接口错误信息  </p>
 *
 * @author mori
 * @since 2019/4/15 9:23
 */
public class ApiError {

    private Integer code;

    private String message;

    public ApiError() {
    }

    public ApiError(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
